let str = '1236412154';
str = str.replace(/(?=\B(\d{3})+$)/g, ',');
